package cn.jbit.bdqn.util;



import java.util.Date;
import java.util.List;
import java.util.Set;

import javax.persistence.Entity;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import cn.jbit.bdqn.action.UserAction;
import cn.jbit.bdqn.action.cus.DespatchAction;
import cn.jbit.bdqn.action.cus.MarketChangeAction;
import cn.jbit.bdqn.action.cus.PlanObjAction;

import cn.jbit.bdqn.biz.cus.Inface.IDespatchBiz;
import cn.jbit.bdqn.biz.cus.impl.MarketChangeBizImpl;
import cn.jbit.bdqn.biz.login.Inface.IUserBiz;
import cn.jbit.bdqn.biz.login.impl.AuthServiceImpl;
import cn.jbit.bdqn.biz.login.impl.UserServiceImpl;
import cn.jbit.bdqn.entity.Dictionary;
import cn.jbit.bdqn.entity.cus.MarketChange;
import cn.jbit.bdqn.entity.cus.PlanProject;
import cn.jbit.bdqn.entity.login.Role;
import cn.jbit.bdqn.entity.login.User;


@Entity
public class Test {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		ApplicationContext ac=new ClassPathXmlApplicationContext("applicationContext.xml");
		//IDespatchBiz md=(IDespatchBiz)ac.getBean("despBiz");
		UserAction des=(UserAction)ac.getBean("userAction");
		User user=new User();
		user.setLogName("AN");
		user.setUserPass("123456");
		des.setUser(user);
		
			System.out.println(2<<3);
			
		
	
		
	}
	

}
